package bam.service.impl;

import java.io.Serializable;
import java.util.List;

import bam.dao.AppAdVerDao;
import bam.entity.Urls;
import bam.service.AppAdVerService;

public class AppAdverServiceImpl implements AppAdVerService {
	private AppAdVerDao adVerDao;
	public List<Urls> selectAreaUrls(int areaid,int porstion,int isvoild) throws Exception {
		return adVerDao.selectAreaUrls(areaid, porstion,isvoild);
	}

	public void updateUrls(Urls urls) throws Exception {
		adVerDao.updateUrls(urls);
		
	}

	public Serializable insertUrls(Urls urls) throws Exception {
		return adVerDao.insertUrls(urls);
	}


	public Urls selectUrls(int id) throws Exception {
		return adVerDao.selectUrls(id);
	}
	
	public void setAdVerDao(AppAdVerDao adVerDao) {
		this.adVerDao = adVerDao;
	}
	
}
